package org.example7;

public class Dog implements Animal{


    public  void greet(Animal a) {
        System.out.println(" Dog Hello Animal");
    }
     @Override
     public void sniff(Animal a) {
        System.out.println("dog sniff Animal");
    }

    public void  praise(Dog a) {
        System.out.println("you are cool Dog");
    }
}
